<include file="{$head}"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{$index}">列表</a></li>
        <li class="active"><a>编辑</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{$editPost}">
        {$fields}
        <div class="col-sm-offset-2 col-sm-10">
            <input type="hidden" name="id" value="<literal>{$vo.id}</literal>"/>
            <button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
            <a class="btn btn-default" href="{$index}">返回</a>
        </div>
    </form>

</div>
<script src="__STATIC__/js/admin.js"></script>
<script src="__STATIC__/js/layer/layer.js"></script>
<script>
    {
        $jsTpl
    }
</script>
</body>
</html>